﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using System.Windows.Threading;

namespace AppToolkit.WPF.Tests.UI.FolderBrowser
{
    [TestFixture]
    public class FolderBrowserTests
    {
        #region Setup / Teardown
        [TearDown]
        public void Dispose()
        {
            if (Dispatcher.CurrentDispatcher != null && !Dispatcher.CurrentDispatcher.HasShutdownStarted)
            {
                Dispatcher.CurrentDispatcher.InvokeShutdown();
            }
        }
        #endregion

        [Test, RequiresSTA, Explicit]
        public void Interactive_ShowFolderBrowser()
        {
            FolderBrowserTestWindow wnd = new FolderBrowserTestWindow();
            wnd.ShowDialog();
        }
    }
}
